<!-- .section -->
<?php
list($newsArr) = $this->requestAction(array('controller' => 'news', 'action' => 'index'));
?>
<div class="section">
	<h2 class="title">ニュース</h2>
	<ul class="list news clearfix">
		<?php foreach ($newsArr as $key => $news): ?>
		<li class="clearfix">
			<?php if($news->more != '') :?>
			<a href="<?php echo $news->more;?>">
				<span class="date"><?php echo $news->date; ?></span>
				<p>
					<?php if($news->image != ''):?>
					<img class="image" src="<?php echo $news->image; ?>" border="0" alt="" />
					<?php endif; ?>
					<?php echo $news->title; ?>
				</p>
			</a>
			<?php else:?>
				<span class="date"><?php echo $news->date; ?></span>
				<p>
					<?php if($news->image != ''):?>
					<img class="image" src="<?php echo $news->image; ?>" border="0" alt="" />
					<?php endif; ?>
					<?php echo $news->title; ?>
				</p>
			<?php endif; ?>
		</li>
		<?php endforeach; ?>
	</ul>
</div>
<!-- /.section -->